package cn.terminus.web.customer.customleaseinfo.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * CustomLeaseInfoNewForm
 *
 * @author makejava
 * @since 2021-07-08 11:18:54
 */
@Data
@ApiModel("CustomLeaseInfo新增参数")
public class CustomLeaseInfoNewForm implements Serializable {
    private static final long serialVersionUID = 326959781034357172L;

    /**
     * 租赁省市
     */
    @ApiModelProperty(name = "cboLeaseProvince", value = "租赁省市", required = true)
    private String cboLeaseProvince;

    /**
     * 租赁城市
     */
    @ApiModelProperty(name = "cboLeaseCity", value = "租赁城市", required = true)
    private String cboLeaseCity;

    /**
     * 租赁区县
     */
    @ApiModelProperty(name = "cboLeaseCounty", value = "租赁区县", required = true)
    private String cboLeaseCounty;

    /**
     * 租赁区域全路径
     */
    @ApiModelProperty(name = "cboLeasePath", value = "租赁区域全路径", required = true)
    private String cboLeasePath;

    /**
     * 合同到期日期
     */
    @ApiModelProperty(name = "cboLeaseExpire", value = "合同到期日期", required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date cboLeaseExpire;

    /**
     * 租赁面积
     */
    @ApiModelProperty(name = "cboLeaseArea", value = "租赁面积", required = false)
    private Double cboLeaseArea;

    /**
     * 租赁价格最小
     */
    @ApiModelProperty(name = "cboLeaseMinHopeprice", value = "租赁价格最小", required = false)
    private Double cboLeaseMinHopeprice;

    /**
     * 租赁价格最大
     */
    @ApiModelProperty(name = "cboLeaseMaxHopeprice", value = "租赁价格最大", required = false)
    private Double cboLeaseMaxHopeprice;

    /**
     * 租赁价格单位
     */
    @ApiModelProperty(name = "cboLeaseHopepriceUnit", value = "租赁价格单位", required = false)
    private String cboLeaseHopepriceUnit;


}
